package com.hyk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyk.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyk.entity.request.ProductRequest;
import com.hyk.entity.response.ProductResponse;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author hyk
 * @since 2021-03-18
 */
public interface IProductService extends IService<Product> {

    IPage<ProductResponse> findListForName(ProductRequest request);

    void upOrDown(Long id);
}
